package io.github.syske.springbootjdbcmybatisdemo.dao;

import io.github.syske.springbootjdbcmybatisdemo.entity.Locate;
import io.github.syske.springbootjdbcmybatisdemo.entity.vo.LocateVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LocateDao {

       //查询未占用货位
       public List<Locate> getEmptyLocate();

       public List<Locate> getEmptyLocate2();

       //根据RFID查询货位信息
       public Locate getLocateByRfid(Map<String,Object> map);

       public List<LocateVO> getLocateByCondition(@Param("condition") String condition);

       public int updateTPState(String locate);

       public int delTempSttJob(String stt_code);

       public int delTempOp(String op_code);

       public List<LocateVO> getLocateByName(String m_name);

       public List<LocateVO> getLocateByAll();

       public Map<String,Object> getItemCodeByMcode(String m_code);

}
